/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testxml;

import java.util.ArrayList;

/**
 *
 * @author marcinse
 */
public class TestXML
{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)
    {
        ArrayList ItemList;
        XMLhandler xmlhandler = new XMLhandler();
        ItemList = xmlhandler.loadItems();
        for(int i = 0;i<ItemList.size();i++)
        {
            Item temp = (Item) ItemList.get(i);
            System.out.println(temp.getName());
            System.out.println(temp.getDuration());
            System.out.println(temp.getItemKnowledge());
        }
    }
}
